<?php 
include_once './function.php';

session_start();
session_unset();
session_destroy();

// echo "退出成功";
header("Location:./index.php");
// error('退出成功','./index.php',3)

 ?>